/**
 * Project problem4
 */


#ifndef _QUERYBASE_H
#define _QUERYBASE_H

class QueryBase {
protected: 
    
virtual void ~QueryBase() = 0;
private: 
    
/**
 * @param t
 */
virtual QueryResult eval(const TextQuery t) = 0;
    
virtual string rep() = 0;
};

#endif //_QUERYBASE_H